#!/bin/bash
echo "监控 CocoaPods 仓库下载进度..."
while true; do
    SIZE=$(du -sh ~/.cocoapods/repos/cocoapods 2>/dev/null | cut -f1)
    COUNT=$(find ~/.cocoapods/repos/cocoapods -name "*.podspec" 2>/dev/null | wc -l)
    echo "$(date): 仓库大小: $SIZE, 规范文件数: $COUNT"
    sleep 10
done
